package chapter10.AbstractClass.Exercise;

public class Manager extends Employee {
    private double bons;

    public Manager(String name, double bons) {
        super(name);
        this.bons = bons;

    }

    @Override
    public void work() {
        System.out.println("经理"+getName()+"正在工作");
    }
}
